package com.ruoyi.lbb.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 fronthost
 * 
 * @author lbb
 * @date 2022-09-22
 */
public class Fronthost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 前台用户id */
    private Long uid;

    /** 用户名 */
    @Excel(name = "用户名")
    private String uname;

    /** 注册时间 */
    @Excel(name = "注册时间")
    private String regtime;

    /** 微信号 */
    @Excel(name = "微信号")
    private String phone;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idnumber;

    /** 密码 */
    @Excel(name = "密码")
    private String upwd;

    /** r1 */
    @Excel(name = "r1")
    private String r1;

    /** r3 */
    @Excel(name = "r3")
    private String r3;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativeplace;

    /** 现居住省 */
    @Excel(name = "现居住省")
    private String nowprovince;

    /** 现居住市 */
    @Excel(name = "现居住市")
    private String nowcity;

    /** 现居住区 */
    @Excel(name = "现居住区")
    private String nowarea;

    /** 现居住街道 */
    @Excel(name = "现居住街道")
    private String nowaddress;

    /** 健康码状态 */
    @Excel(name = "健康码状态")
    private String status;

    /** 接种次数 */
    @Excel(name = "接种次数")
    private String receivenum;

    /** 身份证正面地址uuid */
    @Excel(name = "身份证正面地址uuid")
    private String idfurl;

    /** 身份证反面地址uuid */
    @Excel(name = "身份证反面地址uuid")
    private String idburl;

    /** 头像地址uuid */
    @Excel(name = "头像地址uuid")
    private String purl;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getNativeplace() {
        return nativeplace;
    }

    public void setNativeplace(String nativeplace) {
        this.nativeplace = nativeplace;
    }

    public String getNowprovince() {
        return nowprovince;
    }

    public void setNowprovince(String nowprovince) {
        this.nowprovince = nowprovince;
    }

    public String getNowcity() {
        return nowcity;
    }

    public void setNowcity(String nowcity) {
        this.nowcity = nowcity;
    }

    public String getNowarea() {
        return nowarea;
    }

    public void setNowarea(String nowarea) {
        this.nowarea = nowarea;
    }

    public String getNowaddress() {
        return nowaddress;
    }

    public void setNowaddress(String nowaddress) {
        this.nowaddress = nowaddress;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getReceivenum() {
        return receivenum;
    }

    public void setReceivenum(String receivenum) {
        this.receivenum = receivenum;
    }

    public String getIdfurl() {
        return idfurl;
    }

    public void setIdfurl(String idfurl) {
        this.idfurl = idfurl;
    }

    public String getIdburl() {
        return idburl;
    }

    public void setIdburl(String idburl) {
        this.idburl = idburl;
    }

    public String getPurl() {
        return purl;
    }

    public void setPurl(String purl) {
        this.purl = purl;
    }

    /** usermanage信息 */
    private List<Frontslave> frontslaveList;

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setUname(String uname) 
    {
        this.uname = uname;
    }

    public String getUname() 
    {
        return uname;
    }
    public void setRegtime(String regtime) 
    {
        this.regtime = regtime;
    }

    public String getRegtime() 
    {
        return regtime;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setIdnumber(String idnumber) 
    {
        this.idnumber = idnumber;
    }

    public String getIdnumber() 
    {
        return idnumber;
    }
    public void setUpwd(String upwd) 
    {
        this.upwd = upwd;
    }

    public String getUpwd() 
    {
        return upwd;
    }
    public void setR1(String r1) 
    {
        this.r1 = r1;
    }

    public String getR1() 
    {
        return r1;
    }
    public void setR3(String r3) 
    {
        this.r3 = r3;
    }

    public String getR3() 
    {
        return r3;
    }

    public List<Frontslave> getFrontslaveList()
    {
        return frontslaveList;
    }

    public void setFrontslaveList(List<Frontslave> frontslaveList)
    {
        this.frontslaveList = frontslaveList;
    }

//    @Override
//    public String toString() {
//        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
//            .append("uid", getUid())
//            .append("uname", getUname())
//            .append("regtime", getRegtime())
//            .append("phone", getPhone())
//            .append("sex", getSex())
//            .append("idnumber", getIdnumber())
//            .append("upwd", getUpwd())
//            .append("r1", getR1())
//            .append("r3", getR3())
//            .append("frontslaveList", getFrontslaveList())
//            .toString();
//    }


    @Override
    public String toString() {
        return "Fronthost{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", regtime='" + regtime + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                ", idnumber='" + idnumber + '\'' +
                ", upwd='" + upwd + '\'' +
                ", r1='" + r1 + '\'' +
                ", r3='" + r3 + '\'' +
                ", nativeplace='" + nativeplace + '\'' +
                ", nowprovince='" + nowprovince + '\'' +
                ", nowcity='" + nowcity + '\'' +
                ", nowarea='" + nowarea + '\'' +
                ", nowaddress='" + nowaddress + '\'' +
                ", status=" + status +
                ", receivenum='" + receivenum + '\'' +
                ", idfurl='" + idfurl + '\'' +
                ", idburl='" + idburl + '\'' +
                ", purl='" + purl + '\'' +
                '}';
    }
}
